﻿using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell.Flavor;

namespace VSSDKAssist.Platform.FlavorProjects
{
    [ComVisible(false)]
    [Guid("C450E67E-F72C-455E-8F63-A2A33158F4C3")]
    public class VsPackageSetupProjectFactory : FlavoredProjectFactoryBase
    {
        private VsPackage package;

        public VsPackageSetupProjectFactory(VsPackage package)
            : base()
        {
            this.package = package;
        }

        protected override object PreCreateForOuter(IntPtr outerProjectIUnknown)
        {
            return new VsPackageSetupProject(this.package);
        }
    }
}
